﻿using LearnTower.Business.Data;
using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.ServiceModel.Web;
using System.Text;
using System.Threading.Tasks;

namespace LearnTower.Business.Contract
{
    [ServiceContract(Namespace = "http://www.learntower.com/Service/Business")]
    public interface IAuthenticationService
    {
        [OperationContract(ProtectionLevel = System.Net.Security.ProtectionLevel.EncryptAndSign)]
        [ServiceKnownType(typeof(User))]
        Response Authenticate(string userName, string password);
    }
}
